﻿<form>
  <input placeholder="手机号" id="phone" /><br /><br />
  <input placeholder="验证码" /> 
  <input type="button" value="发送验证码" />
  <br /><br />
  <input type="button" value="下一步" onclick="nextStep()" />

  <script>
function nextStep(){
  localStorage.setItem("currentPhone",phone.value);
  location = "upatepwd.html";
}
  </script>
</form>